package com.zjgsu.nftplatform.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author ahy231
 * @date 2022/3/6 10:49
 * @description
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("商品详情")
public class GoodsDetail {
    @ApiModelProperty("商品id")
    private String id;
    @ApiModelProperty("nft id")
    private String nftId;
    @ApiModelProperty("商品名称")
    private String name;
    @ApiModelProperty("封面")
    private String img;
    @ApiModelProperty("商品属性")
    private String attributes;
    @ApiModelProperty("商品浏览量")
    private Integer views;
    @ApiModelProperty("商品点赞数")
    private Integer stars;
    @ApiModelProperty("是否已关注")
    private Boolean focused;
    @ApiModelProperty("作家")
    private String author;
    @ApiModelProperty("作家id")
    private String authorId;
    @ApiModelProperty("所有权拥有者")
    private String owner;
    @ApiModelProperty("所有者id")
    private String ownerId;
    @ApiModelProperty("链上地址")
    private String chainAddress;
    @ApiModelProperty("售卖权利")
    private String right;
    @ApiModelProperty("起拍价格")
    private BigDecimal startingPrice;
    @ApiModelProperty("当前价格")
    private BigDecimal currentPrice;
    @ApiModelProperty("结束日期")
    private Date endTime;
    @ApiModelProperty("作品简介")
    private String description;
    @ApiModelProperty("商品状态")
    private String status;
    @ApiModelProperty("交易方式")
    private String saleMethod;
    @ApiModelProperty("版本")
    private String edition;
}
